import { createHashRouter } from "react-router-dom";

import Home from "../pages/home";
import Login from "../pages/Login";
import Compress from "../pages/tools/Compress";

const Router = createHashRouter([
    {
        path: '/',
        element: <Home />
    },
    {
        path: '/login',
        element: <Login />
    },
    {
        path: '/Compress',
        element: <Compress />
    }
])
// const RouteCom = ()=>{
//     return Router
// }

export default Router